package com.java.advance.simple.threadpool;

import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicInteger;

/**
 * Created by yangminghua on 2019/3/28.
 */
public class MapDemo {

    private static AtomicInteger atomicInteger;

    public static void main(String[] args) {
        Map<String, String> map = new HashMap<>();
        map.put("x", "123");

        Map<String, Object> concurrentHashMap = new ConcurrentHashMap<>();

        atomicInteger.getAndAdd(1);

    }
}
